package com.dingreading.cloud.mall.service;

import com.dingreading.cloud.mall.dto.GoodsTypeComboDto;
import com.dingreading.cloud.mall.entity.GoodsTypeCombo;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-03-21
 */
public interface GoodsTypeComboService extends IService<GoodsTypeCombo> {


    List<GoodsTypeCombo> listByMainGoodsIdAndMainGoodsTypeId(Long mainGoodsId, Long mainGoodsTypeId);

    List<GoodsTypeCombo> listByMainGoodsTypeIds(List<Long> mainGoodsTypeIds);

    List<GoodsTypeComboDto> dtoListByMainGoodsTypeIds(List<Long> mainGoodsTypeIds);

}
